﻿using Entity.FrameEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    [CustomAttribute(TableName = "bom_ProductionBom_main", Description = "bom主表")]
    public class DbBomMain
    {
        private int? _id;
        private string _bomcode;
        private string _relationcode;
        private string _relationtype;
        private string _bomversion;
        private int? _isdel;
        private string _createuser;
        private string _createtime;
        private string _delmsg;
        private string _memo;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// bom编码
        /// </summary>
        public string bomCode
        {
            set { _bomcode = value; }
            get { return _bomcode; }
        }
        /// <summary>
        /// bom名称
        /// </summary>
        public string bomName
        {
            get;set;
        }
        /// <summary>
        /// 关联存货
        /// </summary>
        public string relationCode
        {
            set { _relationcode = value; }
            get { return _relationcode; }
        }
        /// <summary>
        /// 数据类型(pro存货/ptype大类)
        /// </summary>
        public string relationType
        {
            set { _relationtype = value; }
            get { return _relationtype; }
        }
        /// <summary>
        /// bom版本号
        /// </summary>
        public string bomVersion
        {
            set { _bomversion = value; }
            get { return _bomversion; }
        }
        /// <summary>
        /// 删除标记
        /// </summary>
        public int? isdel
        {
            set { _isdel = value; }
            get { return _isdel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string delMsg
        {
            set { _delmsg = value; }
            get { return _delmsg; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string memo
        {
            set { _memo = value; }
            get { return _memo; }
        }

    }
}
